package cz.hanis.android.pubaccounting.db;

import java.util.List;

import cz.hanis.android.pubaccounting.model.Item;
import cz.hanis.android.pubaccounting.model.Pub;

public interface DbManager {

	public Pub getPub(long id);
	public void updatePub(Pub pub);
	public List<Pub> getPubHeaders();
	public long savePub(Pub pub);
	public void deletePub(Pub pub);
	
	
	public Item getItem(long id);
	public void updateItem(Item item);
	public long saveItem(Item item);
	public void deleteItem(Item item);
	
	
	
}
